//客服
Route::group(function () {
        Route::get("/customer_index", "app\admin\controller\customer@index")->name("customer.index");// 列表
        Route::get("/customer_detail", "app\admin\controller\customer@detail")->name("customer.detail");// 详情
        Route::post("/customer_delete", "app\admin\controller\customer@delete")->name("customer.delete");// 删除
        Route::post("/customer_create", "app\admin\controller\customer@create")->name("customer.create");// 创建  
        Route::post("/customer_edit", "app\admin\controller\customer@edit")->name("customer.edit");// 编辑
    })
->allowCrossDomain()// 跨域
->middleware(middleware\Auth::class)// jwt认证
->middleware(middleware\Permission::class);// 权限认证